#ifndef __MYSTDIO_H__
#define __MYSTDIO_H__
#include <stdio.h>
#include <unistd.h>
#include <string.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <stdlib.h>
#include <assert.h>
#define BUFSIZE 1024


struct _FILE
{
    int _fd;
    char _outBuffer[BUFSIZE];
    int _bufPos;
    int _flushMode;
}typedef _FILE;


_FILE* _fopen(const char* filename,const char* flag);
size_t _fwrite(_FILE *fp,const char* s,int len);
void _fclose(_FILE *fp);

#endif